package com.lrh.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "netty")
@Data
public class NettyConfig {

    private int port; // netty监听的端口

    private String path; // websocket访问路径


}
